﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleRedisClinet;

namespace csharp_redis_test
{
    public class Base
    {

        protected Redis GetRedis()
        {
            return new Redis("127.0.0.1", 6379);
        }

        protected RedisSet GetRedisSet()
        {
            return new RedisSet("127.0.0.1", 6379);
        }

        protected RedisList GetRedisList()
        {
            return new RedisList("127.0.0.1", 6379);
        }

        protected RedisSortedSet GetRedisSortedSet()
        {
            return new RedisSortedSet("127.0.0.1", 6379);
        }
    }
}
